// 假设 @/axios 是相对路径的别名，尝试替换为实际的相对路径，需根据实际项目结构调整
import { get, post } from '@/axios/index.js'


export const coachList = (data) => get('/system/coach/list', data)

export const deleteCoach = (id) => post('/system/coach/delete/'+id)

export const addOrUpdateCoach = (data) => post('/system/coach/addOrUpdate', data)

export const coachBookingList = (data) => get('/system/coachBooking/bookingRecords', data)

export const coachBookingDetails = (id) => post('/system/coachBooking/details/'+id)

export const approveBooking = (id,status) => post('/system/coachBooking/approval/'+id+'/'+status)

